// import './assets/main.css'
//创建createApp用于创建应用
import { createApp } from 'vue'
//引入App根组件
import App from './App.vue'
//引入路由器
import router from './router'
// createApp(App).mount('#app')

//创建一个应用
const app = createApp(App)
//使用路由器
app.use(router)

//1.引入pinia
import { createPinia } from "pinia";

//2.创建pinia
const pinia = createPinia()
//3. 安装pinia
app.use(pinia)
app.mount('#app')
